<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>表单</title>
		<link rel="stylesheet" href="../../css/bootstrap.min.css" />
	</head>
	<body>
		<!--
        	form-control        让表单的宽度为100%，并且还添加了一些其他的样式。
        	form-group          给表单之间添加了距离
        	form-inline         让表单在一行中显示
        -->
		<div class="container">
			<div class="row">
				<form action="#" class="form-inline">
					<!--<div class="form-group">-->
						<label for="userName">用户名</label>
						<input type="text" id="userName" class="form-control"/>
					<!--</div>-->
					<!--<div class="form-group">-->
						<label for="password">密码</label>
						<input type="password" id="password" class="form-control"/>	
					<!--</div>-->
					<input type="button" value="登录" class="btn"/>
				</form>
			</div>
		</div>
		<script type="text/javascript" src="../../js/jquery-2.1.0.js" ></script>
		<script type="text/javascript" src="../../js/bootstrap.min.js" ></script>
	</body>
</html>
